module.exports = {
  devServer: {
    proxy: {
      '/api': {
        target: 'http://localhost:8888',
        changeOrigin: true,
        pathRewrite: {
          '/api': ''
        }
      }
    }
  },
  configureWebpack: {
    resolve: {
      alias: {
        "assets": "@/assets",
        "commonjs": "@/commonjs",
        "network": "@/network",
        "router": "@/router",
        "store": "@/store",
        "views": "@/views"
      }
    },
  },
}
